﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{
    public static class AcQuyBUS
    {
        public static object lay_danh_sach_acquy(float _ah)
        {
            return AcQuyDAO.lay_danh_sach_acquy(_ah);
        }


        public static object search_sanpham_acquy(string text)
        {
            return AcQuyDAO.search_sanpham_acquy(text);
        }

        public static void Insert_Sanpham_Acquy(SanPham_AcQuy_DTO acquy)
        {
            AcQuyDAO.Insert_Sanpham_Acquy(acquy);
        }

        public static void Delete_Sanpham_Acquy(int id)
        {
            AcQuyDAO.Delete_sanpham_acquy(id);
        }

        public static SanPham_AcQuy_DTO load_sanpham_acquy_id(int id)
        {
            return AcQuyDAO.load_sanpham_acquy_id(id);
        }

        public static void Update_sanpham_acquy(SanPham_AcQuy_DTO acquy)
        {
            AcQuyDAO.Update_sanpham_acquy(acquy);
        }











    }
}
